Page({
  data: {
   "userinfo":[
     {"name":"张三","phone":13788902821},
     {"name":"李四","phone":15288902821},
     {"name":"赵五","phone":13781202821}  
   ]
  },
  GotoPeople(e){
    const phone = e.currentTarget.dataset.num;
    wx.setStorageSync("userinfo",phone)
    wx.switchTab({
      url: '/pages/people/people',
    })
  }
})